package com.libraryApp.entity;

import com.libraryManage.commons.utils.PagingEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @CreateDate 2021-03-09
 * @Author yufang
 */
@Data
@ApiModel(description = "图书信息do")
public class BookDo extends PagingEntity {

    @ApiModelProperty(value = "id")
    private int bookId;

    @ApiModelProperty(value = "书名")
    private String bookName;

    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "出版社")
    private String publisher;

    @ApiModelProperty(value = "封面")
    private String bookImage;

    @ApiModelProperty(value = "图书简介")
    private String bookInfo;

    @ApiModelProperty(value = "图书现有库存")
    private int bookStock;

}
